import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Main',
      component:() => import('../views/Main.vue'),
      redirect:'/tuijian',
      children:[
        {
            path:'/tuijian',
            name:'tuijian',
            component:() => import('../views/tuijian/tuijian.vue'),
        },
        {
          path:'/xiangqing',
          name:'xiangqing',
          component:() => import('../views/tuijian/xiangqing.vue'),
        }
      ]
    }, 
  ]
})
